package com.muyu.chat.doamin;
import lombok.Data;

import java.io.Serializable;

/**
 * 聊天
 *  yangle
 *
 * */
@Data
public class ChatMessage implements Serializable {
    /**
     *自增主键id
     */
    private Long id;
    /**
     *发送用户id
     */
    private Long sendUserId;
    /**
     *接收用户id
     */
    private Long acceptUserId;
    /**
     *消息类型（图片：img，视频：video，文本：text）
     */
    private String type;
    /**
     *发送内容
     */
    private String content;
    /**
     *是否阅读
     */
    private Integer readedNum;
    /**
     *是否删除
     */
    private int deleteContent;
    /**
     *发送时间
     */
    private String sendTime;

    private Integer pageNum = 1;
    private Integer pageSize = 10000;

    private Integer soundTime;
    private Integer identification;


    private String avatar;
    private String name;

    private String  senderAvatar;
    private String  senderName;
    private String  receiverAvatar;
    private String  receiverName;




}
